import axios from 'axios'

export default {
  url: '/admin/hosp/hospital',

  getHospitalListPage (current, limit, para) {
    return axios.post(`${this.url}/list/${current}/${limit}`, para)
  },
  // removeHospital (id) {
  //   return axios.delete(`${this.url}/${id}`)
  // },
  lockHospital (id, status) {
    return axios.put(`${this.url}/lockHospital/${id}/${status}`)
  },
}